package com.cms.admin.service.privilege.impl;

import java.util.ArrayList;
import java.util.List;

import com.cms.admin.mapper.CityMapper;
import com.cms.admin.model.City;
import com.cms.admin.service.privilege.CityService;

public class CityServiceImpl implements CityService {

	private CityMapper cityMapper;
	
	
	/**
	 * @return the orgMapper
	 */
	public CityMapper getCityMapper() {
		return cityMapper;
	}

	/**
	 * @param orgMapper the orgMapper to set
	 */
	public void setCityMapper(CityMapper cityMapper) {
		this.cityMapper = cityMapper;
	}

	@Override
	public ArrayList<City> selectByLevel(String lv) {
		// TODO Auto-generated method stub
		return cityMapper.selectByLevel(lv);
	}

	@Override
	public City selectByPrimaryKey(String orgId) {
		// TODO Auto-generated method stub
		return cityMapper.selectByPrimaryKey(orgId);
	}

	@Override
	public ArrayList<City> selectSubOrg(String orgId) {
		// TODO Auto-generated method stub
		return cityMapper.selectSubOrg(orgId);
	}

	@Override
	public ArrayList<City> selectAllOrg() {
		// TODO Auto-generated method stub
		return cityMapper.selectAllOrg();
	}

	 

}
